using System;
using System.Collections.Generic;
using System.Text;
using System.Web;

namespace AppExtensions.Views {
  public interface IBaseView {
    void RedirectTo(string url);
    void RedirectTo(string url, params KeyValuePair<string, string>[] parameterValues);
    void RedirectToLogin();
    //void RenderToHandler(IHttpHandler handler);
    IDictionary<string, object> Session { get; }
    long? UserId { get; }
    string ClientIPAddress { get; }
    Dictionary<string, object> ContextObject { get; }
  }
}
